package cn.tedu.qxhouserent.house.service;

import cn.tedu.qxhouserent.commons.pojo.vo.PageData;
import cn.tedu.qxhouserent.house.pojo.vo.NewsCategoryListItemVO;
import cn.tedu.qxhouserent.house.pojo.vo.NewsCategoryStandardVO;
import cn.tedu.qxhouserent.house.pojo.vo.NewsListVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface NewsCategoryService {

    List<NewsCategoryListItemVO> list();

    List<NewsListVO> cha(Long id);

    PageData<NewsListVO> listCategoryByUserId(Long id, Integer page);

    PageData<NewsListVO> listMoChaByUId(Long id, Integer page, String s);

    PageData<NewsListVO> listMoChaByZId(Integer page, Integer id, String s);

    NewsCategoryStandardVO getStandardById(Long id);
}
